package com.runfast.paotui.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.paotui.dao.mapper.RunfastLoginRecordMapper;
import com.runfast.paotui.dao.model.RunfastLoginRecord;
import com.runfast.paotui.dao.model.RunfastLoginRecordExample;
import com.runfast.paotui.service.RunfastLoginRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RunfastLoginRecordServiceImpl extends BaseService<RunfastLoginRecord, Integer, RunfastLoginRecordExample> implements RunfastLoginRecordService {
   @Resource
    RunfastLoginRecordMapper dao;
    @Override
    public List<RunfastLoginRecord> getshopperLoginmsg(Integer accountid) {
        return dao.getshopperLoginmsg(accountid);
    }

    @Override
    public void deleteshopper(Integer accountid) {
         dao.deleteshopper(accountid);
    }

    @Override
    public RunfastLoginRecord findid(Integer id) {
        return dao.findid(id);
    }

    @Override
    public List<RunfastLoginRecord> getCuserLoginmsg1(Integer accountid) {
        return dao.getCuserLoginmsg1(accountid);
    }
}